package com.sch.wanandroid;

import android.app.Application;
import android.content.Context;
import android.os.Environment;
import android.util.Log;

import com.coder.zzq.smartshow.core.SmartShow;
import com.tencent.mmkv.MMKV;

public class WanAndroidApplication extends Application {
    private static Application baseApplication;

    @Override
    public void onCreate() {
        super.onCreate();
        baseApplication = this;
        String rootDir = MMKV.initialize(
                getExternalFilesDir(Environment.DIRECTORY_DOCUMENTS).getAbsolutePath());
        SmartShow.init(this);

    }

    public static Context getContext() {
        return baseApplication;
    }
}
